﻿@{
    //主题
    string themes = Session["themes"] == null ? "redlight" : Session["themes"].ToString();
    string info = System.Threading.Thread.CurrentThread.CurrentCulture.Name == "zh" ? "zh-CN" : System.Threading.Thread.CurrentThread.CurrentCulture.Name;
    }
<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>

    <script src="@Url.Content("~/Scripts/jquery.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/easyui/jquery.easyui.min.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/themes/base/easyui.css")" rel="stylesheet" />
    <script src="@Url.Content("~/Scripts/easyui/easyui-lang-" + info + ".js")" type="text/javascript"></script>
    @Styles.Render("~/Content/css")
    @Styles.Render("~/Content/themes/" + themes + "/css")
    @Scripts.Render("~/bundles/easyui/easyuiplus")
    @Scripts.Render("~/bundles/easyui/datagridfilter")
    @Scripts.Render("~/bundles/common")
    @Scripts.Render("~/bundles/jqueryfrom")
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"></script>
    <script src ="@Url.Content("~/Scripts/jquery.validate.unobtrusive.plus.js")" type="text/javascript"></script>
    <script src="~/Scripts/My97DatePicker/WdatePicker.js"></script>
    <link href="~/Content/fontawesome/css/font-awesome.min.css" rel="stylesheet" />
    <style>.over{top:0;left:0;z-index:9999999;width:100%;height:100%;background-color:#f5f5f5;opacity:.5}.layout,.over{position:absolute;display:none}.layout{top:40%;left:40%;z-index:100000000;width:20%;height:20%;text-align:center}</style>

</head>
<body style="overflow:hidden;">
    <div style="margin-left:10px; margin-right:10px;">
        @RenderBody()
    </div>    
    <div id="over" class="over"></div>
    <div id="layout" class="layout"><img src="~/Content/images/loading.gif" /></div>
    <script type="text/javascript">
   
        function ShowValidate(msg) {
            $.messageBox5s(Lang.Tip,msg);
        }
    </script>
</body>
</html>
